package com.example.demos.service.impl;

import com.example.demos.mapper.EchartsMapper;
import com.example.demos.service.EchartsService;
import com.example.demos.vo.EchartsByTpeVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class EchartsServiceImpl implements EchartsService {
    @Autowired
    private EchartsMapper echartsMapper;

    @Override
    public List<EchartsByTpeVO> select(String year) {
        return echartsMapper.select(year);
    }
}
